package com.leadingsoft.pwxk.service;

import java.time.ZonedDateTime;

import javax.servlet.http.HttpServletResponse;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.leadingsoft.pwxk.dto.SearchDto;
import com.leadingsoft.pwxk.model.OperationLog;

public interface LogService {
	Page<OperationLog> getList(Pageable pageable, String search, ZonedDateTime start, ZonedDateTime end);

	/**
	 * 登录日志导出
	 * 
	 * @param s
	 * @param response
	 * @param title
	 */
	void exportLoginLog(String search, ZonedDateTime start, ZonedDateTime end, HttpServletResponse response,
			String title);

	/**
	 * 操作日志导出
	 * 
	 * @param s
	 * @param response
	 * @param title
	 */
	void exportOperationLog(String search, ZonedDateTime start, ZonedDateTime end, HttpServletResponse response,
			String title);
}
